using System;
using System.Collections;
using System.Runtime.Serialization;

namespace PaulRz.Util
{
    /// <summary>
    /// Case insensitive hashtable
    /// </summary>
    [Serializable]
    public class HashtableCI : Hashtable
    {
        public HashtableCI(IDictionary d)
            : base(d, StringComparer.InvariantCultureIgnoreCase)
        {
        }

        public HashtableCI()
            : base(StringComparer.InvariantCultureIgnoreCase)
        {
        }
        protected HashtableCI(SerializationInfo info, StreamingContext context) : base(info, context) { }
    }
}
